package com.xz.knowledgeDuplication.pattern.strategy;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 售货员(环境角色)
 *
 * @author 召
 * @date 2022-03-22 21:25:55
 */
@AllArgsConstructor
@Data
public class SalesMan {

    private Strategy strategy;

    public void salesManShow() {
        strategy.show();
    }
}
